package Comp;
import Test.Person;
import java.util.Comparator;
public class CompareP implements Comparator<Person> {
    @Override
    public int compare(Person o1, Person o2) {
        return o1.province.compareTo(o2.province);
    }
}
